/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

/**
 *
 * @author Martin LEGRIS
 * 
 */
public final class Contact {

    public Contact(String[] data) {
        this.fname = data[0];
        this.lname = data[1];
        this.home_address = data[2];
        this.company_address = data[3];
        this.mobile_phone = data[4];
        this.home_phone = data[5];
        this.prof_mobile_phone = data[6];
        this.prof_office_phone = data[7];
        this.home_page = data[8];
        this.prof_email = data[9];
        this.perso_email = data[10];
        this.skype = data[11];
        this.notes = data[12];
        this.picture = data[13];
    }
    

    @Override
            public String toString(){
        
        return (lname+" "+fname);
        
    }

    //informations
    String fname, lname;
    String home_address, company_address;
    String mobile_phone, home_phone;
    String prof_mobile_phone, prof_office_phone;
    String home_page;
    String prof_email, perso_email;
    //photo
    String skype;
    String notes;
    String picture;

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getLname() {
        return lname;
    }

    public void setLname(String lname) {
        this.lname = lname;
    }

    public String getHome_address() {
        return home_address;
    }

    public void setHome_address(String home_address) {
        this.home_address = home_address;
    }

    public String getCompany_address() {
        return company_address;
    }

    public void setCompany_address(String company_address) {
        this.company_address = company_address;
    }

    public String getMobile_phone() {
        return mobile_phone;
    }

    public void setMobile_phone(String mobile_phone) {
        this.mobile_phone = mobile_phone;
    }

    public String getHome_phone() {
        return home_phone;
    }

    public void setHome_phone(String home_phone) {
        this.home_phone = home_phone;
    }

    public String getProf_mobile_phone() {
        return prof_mobile_phone;
    }

    public void setProf_mobile_phone(String prof_mobile_phone) {
        this.prof_mobile_phone = prof_mobile_phone;
    }

    public String getProf_office_phone() {
        return prof_office_phone;
    }

    public void setProf_office_phone(String prof_office_phone) {
        this.prof_office_phone = prof_office_phone;
    }

    public String getHome_page() {
        return home_page;
    }

    public void setHome_page(String home_page) {
        this.home_page = home_page;
    }

    public String getProf_email() {
        return prof_email;
    }

    public void setProf_email(String prof_email) {
        this.prof_email = prof_email;
    }

    public String getPerso_email() {
        return perso_email;
    }

    public void setPerso_email(String perso_email) {
        this.perso_email = perso_email;
    }

    public String getSkype() {
        return skype;
    }

    public void setSkype(String skype) {
        this.skype = skype;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }
    
    public String getPicture() {
        return picture;
    }
    
    
        
}
